package cn.dafa.menu.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.dafa.menu.model.Menu;

@Repository
public interface MenuMapper {
	int deleteByPrimaryKey(Integer id);

	int deleteByPrimaryKeys(String ids);

	int insert(Menu record);

	int insertSelective(Menu record);

	Menu selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(Menu record);

	int updateByPrimaryKey(Menu record);

	List<Menu> getAllMenus();

}